package com.wbs.api;

import com.wbs.model.TbAdmin;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: 芝梦
 * @Description:
 * @DateTime: 2024/1/26 16:31
 */
@FeignClient("dongdong-admin-service")
public interface AdminApi {
    @GetMapping("/admin/selectAdminByUsername")
    public TbAdmin selectAdminByUsername(@RequestParam String username);
}
